﻿<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<jsp:include page="../include/resource-head.jsp"/>
<body>
<jsp:include page="../include/common-top.jsp"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <jsp:include page="../include/common-menu.jsp"/>
        <div class="main-content">
            <div class="page-content">
                <div class="col-xs-12">
                    <div class="row-fluid">
                        <div class="widget-box">
                            <div class="widget-header widget-header-blue widget-header-flat">
                                <h4 class="lighter">
                                    <i class="icon-plus"></i>添加球员
                                </h4>
                            </div>
                            <div class="widget-body">
                                <div class="widget-main">
                                    <div class="step-content row-fluid position-relative">
                                        <form class="form-horizontal" action="/player/add.do" method="post">
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">球员名</label>
                                                <div class="col-xs-12 col-sm-5">
                                                    <input type="text" name="name" class="width-100" />
                                                </div>
                                            </div>
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">球员编号</label>
                                                <div class="col-xs-5 col-sm-5">
                                                    <input type="number" class="width-100" name="no"/>
                                                </div>
                                            </div>
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">身高(cm)</label>
                                                <div class="col-xs-5 col-sm-5">
                                                    <input type="number" class="width-100" name="height"/>
                                                </div>
                                            </div>
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">体重(kg)</label>
                                                <div class="col-xs-5 col-sm-5">
                                                    <input type="text" class="width-100" name="weight"/>
                                                </div>
                                            </div>
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">年龄</label>
                                                <div class="col-xs-5 col-sm-5">
                                                    <input type="number" class="width-100" name="age"/>
                                                </div>
                                            </div>
                                            <div class="form-group has-info">
                                                <label class="col-xs-12 col-sm-3 control-label no-padding-right">所属球队</label>
                                                <div class="col-xs-5 col-sm-5">
                                                   <select class="width-100" name="teamid">
                                                       <c:forEach items="${teamList}" var="item">
                                                           <option value="${item.id}">${item.name}</option>
                                                       </c:forEach>
                                                   </select>
                                                </div>
                                            </div>
                                            <hr/>
                                            <div class="row-fluid wizard-actions">
                                                <button class="btn" type="reset">重置</button>
                                                <button class="btn btn-success" type="submit">提交</button>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.page-content -->
        </div><!-- /.main-content -->
    </div><!-- /.main-container -->
</div>
</body>
<jsp:include page="../include/resource-script.jsp"/>
</html>

